package com.feihong.txgw.utils;

import java.util.List;

/**
 * @author wangziheng
 * @name txgw_app
 * @class name：com.feihong.txgw.utils
 * @class describe: list 非空判断工具类
 * @time 2017/12/12 13:00
 * @change
 * @chang time
 * @class describe
 */
public class Lists {
    public Lists(){}

    public static boolean isEmpty(List list) {
        return list == null || list.size() == 0;
    }

    public static boolean notEmpty(List list) {
        return list != null && list.size() > 0;
    }

}
